package com.hotelManagerSystem.service;

import com.hotelManagerSystem.model.CleaningRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Cynthia
 * @since 2021-12-22
 */
public interface ICleaningRecordService extends IService<CleaningRecord> {

    List<CleaningRecord> queryInfoByState(int cleaningState);

    int updateRecordById(int cleaningRecordId, int staffId);

    List<CleaningRecord> queryInfoByStaffId(int staffId);

    List<CleaningRecord> queryInfoByStaffIdAndState(int staffId, Integer cleaningState);

    int updateRecordState(int cleaningRecordId, String cleanOverTime);

    List<CleaningRecord> queryAll();

    int insertOne(Integer roomId, String recordTime);
}
